<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>

        .outer {
            /* text-align: center; */
            position: relative;
            width: 1000px;
            overflow: hidden;
        }

        .outer img {
            width: 1000px;
            margin: 0 auto;
            transition: 1s linear all;
        }

        .mask {
            width: 1000px;
            height: 553px;
            background-color: black;
            display: inline-block;
            position: absolute;
            top: 0px;
            left: 0px;
            color: white;
            text-align: center;
            line-height: 553px;
            font-size: 100px;
            opacity: 0;
            transition: 1s linear all;
            cursor: pointer;
        }

        .outer:hover .mask {
            opacity: 0.4;
        }

        .outer:hover img {
            transform: scale(1.5) rotate(20deg);
        }


    </style>
</head>
<body>

    <div class="outer">
        <img src="./a.png" alt="编辑器">
        <div class="mask">VSCODE</div>
    </div>
    
</body>
</html>